<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- <!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>用户铃音库查询</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui//themes/icon.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/demo/demo.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.min.js" ></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	    
	function getData() {
		var url = "${pageContext.request.contextPath}/personallib/checkone.do";
		var data = {phnumber:$('#phonenum').val()}
		$.post(url,data,function(res){
			var json = JSON.parse(res);
			alert(json);
			$('#tablecorp').datagrid('loadData',json)
			$('#tablecorp').datagrid('reload'); 
		})
	}
	</script>
</head>
<body> --%>
	<h2>用户铃音库查询</h2>
	<div>
	<input id="phonenum" type="text" />
	<input id="btnsub" type="submit" value="查询" onclick="getData()">	
	</div>
	<table id="tablecorp" class="easyui-datagrid" title=" " style="width:700px;height:250px"
			data-options="singleSelect:true,collapsible:true">
		<thead>
			<tr>
				<th data-options="field:'corpid',width:80,halign:'center'">集团编号</th>
				<th data-options="field:'corpcode',width:80,halign:'center'">集团编码</th>
				<th data-options="field:'corpspcode',width:80,align:'right',halign:'center'">集团sp编码</th>
				<th data-options="field:'corpname',width:80,align:'right',halign:'center'">集团名称</th>
				<th data-options="field:'corpcontact',width:80,halign:'center'">集团联系人</th>
				<th data-options="field:'phonenumber',width:200,align:'center',halign:'center'">集团联系电话</th>
				<th data-options="field:'address',width:80,align:'center',halign:'center'">集团地址</th>
				<th data-options="field:'createtime',width:80,align:'center',halign:'center'">集团创建时</th>
				<th data-options="field:'corptype',width:80,align:'center',halign:'center'">集团类型</th>
				<th data-options="field:'maxnomember',width:90,align:'center',halign:'center'">最大成员数量</th>
				<th data-options="field:'maxnoring',width:90,align:'center',halign:'center'">最大铃音数量</th>
				<th data-options="field:'description',width:200,align:'center',halign:'center'">描述</th>
				<th data-options="field:'maxdept',width:90,align:'center',halign:'center'">最大部门数量</th>
				<th data-options="field:'localid',width:80,align:'center',halign:'center'">地区编码</th>
				<th data-options="field:'priority',width:80,align:'center',halign:'center'">集团等级</th>
				<th data-options="field:'corpnetkind',width:110,align:'center',halign:'center'">集团网络类型标识</th>
				<th data-options="field:'contactemail',width:120,align:'center',halign:'center'">集团联系人电子邮件</th>
				<th data-options="field:'corpplatformtype',width:100,align:'center',halign:'center'">集团平台类型</th>
			</tr>
		</thead>
	</table>
<!-- 
</body>
</html> -->

